const db = require('../models');
const BarActivity = db.BarActivity;

const findActivitiesById = async (barID) => {
    const tablesResult = await BarActivity.findAll({
        where: {
            barID: barID,
            state: 1
        }
    });
    return tablesResult;
}


module.exports = {findActivitiesById};